* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(to bottom right, #a8a5a5, #ffffff);
  min-height: 100vh;
  direction: rtl;
}

.page {
  min-height: 100vh;
  background: #f5f5f5;
}

/* Header Styles */
.header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.nav-icons {
  display: flex;
  gap: 1rem;
}

.menu-icon,
.user-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-icon:hover,
.user-icon:hover {
  background: #e0e0e0;
  transform: scale(1.05);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.zero-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #666;
}



/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
              url("../images/bg2 1.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}
.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.city-image,
.marathon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.hero-content {
  color: white;
  text-align: center;
}

.date-badge {
  background: #ff6b35;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-date {
  font-size: 2rem;
  opacity: 0.9;
}

/* Description Section */
.description,
.about {
  padding: 3rem 2rem;
  background: white;
  margin: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.description h2,
.about h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.description p,
.about p {
  line-height: 1.8;
  color: #666;
  font-size: 1.1rem;
  text-align: justify;
}

/* Pricing Section */
.pricing,
.races {
  padding: 3rem 2rem;
}

.pricing h2,
.races h2 {
  font-size: 2.5rem;
  color: black;
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: white;
  border-radius: 20px;
  padding: 5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}
.card-blue {
  background: linear-gradient(135deg, #3f518b, #253254); /* أزرق غامق */
  color: white;
}

.card-orange {
  background: linear-gradient(135deg,  #c8812a,#7a5020); /* بني برتقالي */
  color: white;
}

.card-green {
  background: linear-gradient(135deg, #429a47, #234e25); /* أخضر غامق */
  color: white;
}


.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.distance {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  text-decoration: line-through;
}

.card h3 {
  font-size: 3rem;
  font-weight: 900;
  margin: 1rem 0;
  color: white;
}

.card p {
  color: white;
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  margin: 1rem 0;
}

.features {
  list-style: none;
  margin-bottom: 2rem;
}

.features li {
  padding: 0.5rem 0;
  color: white;
  border-bottom: 1px solid #f3f4f6;
}

.register-btn {
  background: linear-gradient(135deg, #ff8c00, #ff6b00);
  color: white;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.register-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}


/* Race Cards */
.race-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.race-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.race-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.race-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.race-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.race-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.race-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.race-date .month {
  display: block;
  font-size: 1rem;
  color: #666;
}

.race-info {
  padding: 1.5rem;
}

.race-info h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.race-info p {
  color: #666;
  margin-bottom: 1rem;
}


.btn-details {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}


.btn-details:hover {
  background: linear-gradient(135deg, #20c997, #17a2b8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}



/* Placeholder boxes */
.placeholder-boxes {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  justify-content: center;
}

/* Navigation buttons */
.next-page-btn,
.prev-page-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(45deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 1000;
}

.prev-page-btn {
  right: auto;
  left: 2rem;
}

.next-page-btn:hover,
.prev-page-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

/* Footer */

.footer {
  text-align: center;
  padding: 20px;
  background: #334;
  color: white;
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .pricing-cards,
  .race-cards {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 1rem;
  }

  .hero-overlay {
    padding: 1rem;
  }

  .description,
  .about,
  .pricing,
  .races {
    padding: 2rem 1rem;
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .card h3 {
    font-size: 2rem;
  }

  .next-page-btn,
  .prev-page-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .prev-page-btn {
    left: 1rem;
  }
}

